package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import javax.validation.constraints.*;

@Data
@ApiModel("用户好友列创建参数")
public class UserFriendCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "uid参数缺失")
    @ApiModelProperty(value = "好友ID")
    private Integer uid;

    @NotNull(message = "userId参数缺失")
    @ApiModelProperty(value = "注册之后绑定app的用户id")
    private Integer userId;

    @NotNull(message = "headPic参数缺失")
    @ApiModelProperty(value = "头像")
    private String headPic;

    @NotNull(message = "name参数缺失")
    @ApiModelProperty(value = "名字")
    private String name;

    @NotNull(message = "phone参数缺失")
    @ApiModelProperty(value = "电话")
    private String phone;

    @NotNull(message = "birthday参数缺失")
    @ApiModelProperty(value = "生日")
    private Date birthday;

    @NotNull(message = "address参数缺失")
    @ApiModelProperty(value = "地址")
    private String address;

    @NotNull(message = "position参数缺失")
    @ApiModelProperty(value = "职位")
    private String position;

    @NotNull(message = "unitName参数缺失")
    @ApiModelProperty(value = "单位名称")
    private String unitName;

    @NotNull(message = "taxNumber参数缺失")
    @ApiModelProperty(value = "纳税人识别号")
    private String taxNumber;

    @NotNull(message = "unitAddress参数缺失")
    @ApiModelProperty(value = "单位地址")
    private String unitAddress;

    @NotNull(message = "unitPhone参数缺失")
    @ApiModelProperty(value = "单位电话")
    private String unitPhone;

    @NotNull(message = "bankName参数缺失")
    @ApiModelProperty(value = "开户银行")
    private String bankName;

    @NotNull(message = "bankCard参数缺失")
    @ApiModelProperty(value = "银行账号")
    private String bankCard;

}
